package practice;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

public class Test03 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("输入目录名字：");
        String dir = scan.nextLine();
        File file = new File("./"+dir);
        if(!(file.exists())) {
            file.mkdir();
        }
        System.out.println(file.exists());

    }
}
